package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CityRequest", description = "配送中心城市请求对象")
public class CityRequest extends PageParamRequest {

    @ApiModelProperty(value = "配送中心城市")
    @NotBlank(message = "配送中心城市不能为空")
    private String city;

    @ApiModelProperty(value = "经纬度")
    private String position;
}
